package com.hospital.billcommon.module.business;

import com.hospital.billcommon.module.controller.dto.BillDto;
import com.hospital.billcommon.module.controller.dto.RefundBillDetailVo;
import com.hospital.billcommon.module.controller.dto.RefundBillVo;
import com.hospital.common.core.module.entity.query.OutpBillitem;
import org.springframework.web.client.RestTemplate;

import java.util.List;

/**
 * @author lvyao
 * @description 诊间支付
 * @date 2020/5/29
 */
public class MidChargeBusiness extends AbstractChargingBusiness<OutpBillitem> {
    @Override
    protected List<OutpBillitem> getRefundData(List<RefundBillDetailVo> refundBillDetailList, RefundBillVo refundBillVo) throws Exception {
        return null;
    }

    @Override
    protected boolean insertRefundPatientData(List<OutpBillitem> billItemList, RefundBillVo refundBillVo, RestTemplate restTemplate) throws Exception {
        return false;
    }

    @Override
    protected void setClassOnRcpt(OutpBillitem item, String classOnInpRcpt) {

    }

    @Override
    protected boolean updatePatientData(List<OutpBillitem> billItemList, BillDto billDto, RestTemplate restTemplate) {
        return true;
    }

    @Override
    protected boolean calculateCurrentRemain(double sum, String patientId, String visitId, String chargeType,String createChannel) {
        return false;
    }

    @Override
    protected List<OutpBillitem> unpackItem(BillDto billDto) {
        return null;
    }
}
